cmake_minimum_required(VERSION 2.8)
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
add_executable(TestMsgServer TestMsgServer.cpp)
add_executable(TestMsgClient TestMsgClient.cpp)

# 添加库依赖
target_link_libraries(TestMsgServer MsgService zmq jsoncpp pthread)
target_link_libraries(TestMsgClient MsgService zmq jsoncpp  pthread)
